import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'

console.log('>>> 子应用B主入口文件开始加载 <<<')
console.log('当前时间:', new Date().toISOString())
console.log('当前URL:', window.location.href)

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)

console.log('准备挂载子应用B到 #app')
app.mount('#app')
console.log('子应用B挂载完成')
